package org.walkerljl.boss.dao.sys.impl;

import org.springframework.stereotype.Component;
import org.walkerljl.boss.dao.sys.AppConfigDao;
import org.walkerljl.boss.support.dao.impl.BaseDaoImpl;
import org.walkerljl.boss.domain.sys.AppConfig;

/**
 * AppConfigDaoImpl
 *
 * @author lijunlin
 */
@Component("appConfigDao")
public class AppConfigDaoImpl extends BaseDaoImpl<Long, AppConfig> implements AppConfigDao {

    public AppConfigDaoImpl() {
        super.baseNameSpace = "org.walkerljl.boss.dao.sys.ConfigDao";
    }

    public int updateStatusByKey2(String key) {
        return update(getNameSpace("updateStatusByKey"), key);
    }
}
